package com.baor.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baor.domain.MenuVo;

import java.util.List;
import java.util.Map;

public interface MenuDao extends BaseMapper<MenuVo> {

    String menu(int userId);

    List<MenuVo> allMenu(Map<String,Object> param);

    List<Integer> parentId(int userId);

    Integer pageCount(Map<String,Object> param);

    MenuVo menuInfo(int id);

    int updata(Map<String,Object> param);

    int deleteRole(int id);

    int insertRole(Map<String,Object> param);

    int insertMenu(Map<String,Object> param);

}
